package com.smc.hotfixdemo;

import android.os.Bundle;
import android.widget.Toast;

import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;

public class WorkActivity extends AppCompatActivity {

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_work);
        int div = 1;
        int div2 = 0;
        int result = div/div2;
        Toast.makeText(this, "结果: " + result, Toast.LENGTH_SHORT).show();
    }

}
